<div id="preject">
      {if $t==1}
            {foreach $userinfo as $v}
            {present name="preject"}
            <div id="title"><h1>信息确认</h1></div>
            <div class="item">项目：{$preject.title}</div>
            <input type="hidden" name="t" value="1">
            <input type="hidden" name="uid" value="{$preject.id}">
            <input type="hidden" name="preject" value="{$preject.title}">
            {/present}
            <div class="item">姓名：{$v.name}</div>
            <div class="item">学号：{$v.stuid}</div>
            <div class="item">系部：{$v.apartment}</div>
            <div class="item">年级：{$v.grade}</div>
            <div class="item">班级：{$v.class}</div>
            <div class="item">邮箱：{$v.email}</div>
            <div class="item">联系方式：{$v.phone}</div>
            <div class="item"> <button onclick="mconfirm()">确　定</button></div>
            <input type="hidden" name="name" value="{$v.name}">
            <input type="hidden" name="stuid" value="{$v.stuid}">
            <input type="hidden" name="apartment" value="{$v.apartment}">
            <input type="hidden" name="grade" value="{$v.grade}">
            <input type="hidden" name="class" value="{$v.class}">
            <input type="hidden" name="email" value="{$v.email}">
            <input type="hidden" name="phone" value="{$v.phone}">
            {/foreach}

     {else}
            {foreach $userinfo as $v}
            {present name="preject"}
            <tr><th>项目：</th><td>{$preject.title}</td></tr>
            <input type="hidden" name="t" value="2">
            <input type="hidden" name="uid" value="{$preject.id}">
            <input type="hidden" name="preject" value="{$preject.title}">
            {/present}
            <tr><th>(队长)姓名：</th><td>{$v.name}</td></tr>
            <tr><th>学号：</th><td>{$v.stuid}</td></tr>
            <tr><th>系部：</th><td>{$v.apartment}</td></tr>
            <tr><th>年级：</th><td>{$v.grade}</td></tr>
            <tr><th>班级：</th><td>{$v.class}</td></tr>
            <tr><th>邮箱：</th><td>{$v.email}</td></tr>
            <tr><th>联系方式：</th><td>{$v.phone}</td></tr>
            <input type="hidden" name="name" value="{$v.name}">
            <input type="hidden" name="stuid" value="{$v.stuid}">
            <input type="hidden" name="apartment" value="{$v.apartment}">
            <input type="hidden" name="grade" value="{$v.grade}">
            <input type="hidden" name="class" value="{$v.class}">
            <input type="hidden" name="email" value="{$v.email}">
            <input type="hidden" name="phone" value="{$v.phone}">
            {/foreach}

            <tr><th>(组员)姓名：</th><td><input type="text" name="name[]"></td></tr>
            <tr><th>学号：</th><td><input type="text" name="stuid[]"></td></tr>
            <tr><th>系部：</th><td><input type="text" name="apartment[]"></td></tr>
            <tr><th>年级：</th><td><input type="text" name="grade[]"></td></tr>
            <tr><th>班级：</th><td><input type="text" name="class[]"></td></tr>
            <tr><th>邮箱：</th><td><input type="text" name="email[]"></td></tr>
            <tr><th>联系方式：</th><td><input type="text" name="phone[]"></td></tr>

            <tr><th>(组员)姓名：</th><td><input type="text" name="name[]"></td></tr>
            <tr><th>学号：</th><td><input type="text" name="stuid[]"></td></tr>
            <tr><th>系部：</th><td><input type="text" name="apartment[]"></td></tr>
            <tr><th>年级：</th><td><input type="text" name="grade[]"></td></tr>
            <tr><th>班级：</th><td><input type="text" name="class[]"></td></tr>
            <tr><th>邮箱：</th><td><input type="text" name="email[]"></td></tr>
            <tr><th>联系方式：</th><td><input type="text" name="phone[]"></td></tr>
        <button  onclick="mconfirm()">确　定</button>


    {/if}


</div>